package com.Ritany3.subject.application.convert;



import com.Ritany3.subject.application.dto.SubjectCategoryDTO;
import com.Ritany3.subject.domain.entity.SubjectCategoryBO;
import com.Ritany3.subject.infra.basic.entity.SubjectCategory;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectCategoryDTOConverter {
    SubjectCategoryDTOConverter INSTANCE = Mappers.getMapper(SubjectCategoryDTOConverter.class);
    SubjectCategoryBO converBoToCategory(SubjectCategoryDTO subjectCategoryDTO);

    List<SubjectCategoryDTO> converBoToCategoryDTOList(List<SubjectCategoryBO> subjectCategoryDTO);

    SubjectCategoryBO converDtoToCategoryBO(SubjectCategoryDTO subjectCategoryDTO);
    SubjectCategoryDTO converBoToCategoryDTO(SubjectCategoryBO subjectCategoryBO);
}
